public class TestSimpleCircle {
	public static void main(String[] args) {
		SimpleCircle c=new SimpleCircle(100);
		System.out.println(c.getArea());

		c.radius=200;
		System.out.println(c.getArea());

		SimpleCircle c2=new SimpleCircle();
		System.out.println(c2.getArea());

	}
}

class SimpleCircle {
	static void log(String content) {
		System.out.println("Log: " + content);
	}
	double radius=1;

	SimpleCircle() {}

	SimpleCircle(double initRadius) {
		radius=initRadius;
	}

	public double getArea() {
		log("radius: " + radius);
		return radius * radius * Math.PI;
	}
}
